package com.swak.job.domain;

import java.io.Serializable;

import com.alibaba.fastjson.annotation.JSONField;
import com.swak.Constants;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 定时任务
 * 
 * @author 618lf
 */
@Data
@Accessors(chain = true)
public class JobDTO implements Serializable {
	private static final long serialVersionUID = 1L;
	private String id;
	private String name;
	private String cronExpression;
	private Boolean orderFlag;
	private Boolean autorunFlag;
	private Long lastDispatchId;
	@JSONField(format = Constants.Second_Format)
	private java.time.LocalDateTime lastDispatchTime;
	@JSONField(format = Constants.Second_Format)
	private java.time.LocalDateTime nextDispatchTime;
}